<?php

class Soul_Request_Result_History extends Soul_Request_Result_Base {
	
	private $_startUrl = NULL;
	
	public function getStartUrl(){
		return $this->_startUrl;
	}
	
	public function setStartUrl($value){
		$this->_startUrl = $value;
		return $this;
	}

    public function execute(){
		$url = $GLOBALS[RC]->getRouter()->findHistory($this->getStartUrl());
		Soul_Request_Factory::getResponse()->redirect($url);
    }
}